package com.aspose.cells;

class zts {
   private zok a = null;
   private Workbook b = null;
   private zcfk c = null;
   private QueryTable d = null;

   zts(zok var1, QueryTable var2) {
      this.a = var1;
      this.b = var1.a;
      this.d = var2;
   }

   void a(zcfx var1) throws Exception {
      com.aspose.cells.a.f.zi var2 = this.a.m;
      com.aspose.cells.a.f.zh var3 = var2.a(this.d.a);
      com.aspose.cells.b.a.d.zm var4 = var2.a(var3);
      this.c = zass.a((com.aspose.cells.b.a.d.zm)var4, (zcft)null, true);
      var4.a();
      this.a();
      var1.c(true);
      this.c.b(var1);
      var1.e();
   }

   private void a() {
      zcfl var1 = this.c.d_();
      zass.b(var1, "preserveFormatting");
      zass.b(var1, "adjustColumnWidth");
      if (!this.d.getPreserveFormatting()) {
         this.a(var1, "preserveFormatting", "0");
      }

      if (!this.d.getAdjustColumnWidth()) {
         this.a(var1, "adjustColumnWidth", "0");
      }

   }

   private void a(zcfl var1, String var2, String var3) {
      zcfg var4 = this.c.b(var2);
      var4.h = var3;
      var1.e().a(var4);
   }
}
